<div class="gamebox ">
	<h1><span><a href="<?php echo (isset($link) && $link) ? $link : '#'; ?>" title="<?php echo @$prefix; ?> <?php echo $widget_title; ?>">
		<?php echo @$prefix; ?> <?php echo $widget_title; ?></a></span>
	</h1>
    <div class="clear"></div>
	<div style="padding-top:10px">
		<?php
		if ($games)
			foreach ($games as $game) {
				?>
				<?php $this->load->view('frontend/box/game', array('game'=> $game)); ?>
				<?php
			} //end if $games
		?>

		<div class="cat_link"> 
<?php if (isset($link) && $link !='') {
	echo '<a href="'.$link.'" title="xem thêm" class="button view-more">xem thêm</a>';
} ?>
	
		</div>  <div class="clear"></div></div>
</div>